package cn.com.headfree.salary.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import cn.com.headfree.entity.TSalaryInfo;
import cn.com.headfree.entity.TSeniorCompetent;
import com.gta.edu.sdk.common.dto.Page;
import cn.com.headfree.entity.TOrgDept;
import cn.com.headfree.entity.isc.User;

import java.text.ParseException;
import java.util.Date;
import java.util.List;

public interface SalaryService {

	void getPageSalaryInfo(Page<TSalaryInfo> page, String year,User user);

	void downloadFiles(String erpNo, String sysCode, String businessNode, HttpServletRequest request, HttpServletResponse response, String seniorId,int year);

	List<TSalaryInfo> judge(TSalaryInfo salaryInfo);

	void saveSalaryInfo(TSalaryInfo tSalaryInfo);

	TSalaryInfo selectTSalaryInfoById(String id);

	void saveAllSalaryInfo(Integer year,User user,String ruleId);

	void getPageSalaryInfoQuery(Page<TSalaryInfo> page,String baseOrgId, String userName, String erpNo, Integer year, String auditStatus);

	List<TSalaryInfo> getListSalaryInfoQuery(String baseOrgId, String userName, String erpNo, Integer year, String auditStatus);

	void saveSalaryInfoByErpNo(User user,Integer year,String erpNo,String ruleId,String orgId) throws ParseException;
}
